package com.ceba.test.modules.statistic.service;

import com.ceba.base.web.service.IBaseService;
import com.ceba.test.modules.statistic.dao.StatisticDao;

import abc.IContextDictionary;
import abc.web.HttpContext;
import org.json.JSONObject;

import java.util.Map;

public class StatisticService  extends IBaseService {
	
	private StatisticDao statisticDao;

	public StatisticDao getStatisticDao() {
		return statisticDao;
	}

	public void setStatisticDao(StatisticDao statisticDao) {
		this.statisticDao = statisticDao;
	}

	public String statisticSign(HttpContext context, IContextDictionary dic){
		return statisticDao.statisticSign(context, dic);
	}
	
	public String statisticSignForDownLoad(String userId,Map<String,Object> dic) {
		return statisticDao.statisticSignForDownLoad(userId, dic);
	}
	
	
	public int getAllStatistisCount(String startTime,String endTime,String key){
		return statisticDao.getAllStatistisCount(startTime, endTime, key);
	}
}
